package com.yiwei.hdb.api.callback;

import com.yiwei.hdb.api.contract.BaseContract;
import com.yiwei.hdb.model.ResponseModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface ForgetPwdContract {
    interface View extends BaseContract.BaseView {
        void getCheckCodeInfoSuccess(ResponseModel item);
        void getCodeInfoSuccess(ResponseModel item);
        void getResetPwdInfoSuccess(ResponseModel item);
        void getUpdatePwdInfoSuccess(ResponseModel item);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getCheckCodeInfo( String mobile, String verify_code);
        void getCodeInfo(String type, String mobile);
        void getResetPwdInfo(String mobile, String password, String verify_code);
        void getUpdatePwdInfo(String password);
    }
}
